package com.eco.dao.ds3;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.eco.entity.Sensor;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface SensorMapper extends BaseMapper<Sensor> {
    int addByScan(Sensor paramSensor);

    IPage<Sensor> findByStime(IPage<Sensor> page,@Param("startDate") String paramString1, @Param("endDate") String paramString2);

    int countByStime(@Param("startDate") String paramString1, @Param("endDate") String paramString2);
}
